package com.qianbao.domain.order;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

public class OrderEntity implements Serializable {

    private String order_id;

    @NotNull(message = "订单状态不能为空")
    private String order_state;

    @NotNull(message = "地址id不能为空")
    private String address_id;

    @NotNull(message = "姓名不能为空")
    private String name;

    @NotNull(message = "手机号不能为空")
    private String phone;

    @NotNull(message = "地址不能为空")
    private String address;

    @NotNull(message = "用户id不能为空")
    private String custom_id;

    @NotNull(message = "商品标题不能为空")
    private String goods_title;

    @NotNull(message = "图片地址不能为空")
    private String goods_pict_url;

    private String goods_reserve_price;

    private String goods_zk_final_price;

    @NotNull(message = "商品唯一标识不能为空")
    private String goods_item_id;

    private String goods_nick;

    private String goods_shop_title;

    @NotNull(message = "金币金额不能为空")
    private String goods_coin_price;

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public String getOrder_state() {
        return order_state;
    }

    public void setOrder_state(String order_state) {
        this.order_state = order_state;
    }

    public String getAddress_id() {
        return address_id;
    }

    public void setAddress_id(String address_id) {
        this.address_id = address_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCustom_id() {
        return custom_id;
    }

    public void setCustom_id(String custom_id) {
        this.custom_id = custom_id;
    }

    public String getGoods_title() {
        return goods_title;
    }

    public void setGoods_title(String goods_title) {
        this.goods_title = goods_title;
    }

    public String getGoods_pict_url() {
        return goods_pict_url;
    }

    public void setGoods_pict_url(String goods_pict_url) {
        this.goods_pict_url = goods_pict_url;
    }

    public String getGoods_reserve_price() {
        return goods_reserve_price;
    }

    public void setGoods_reserve_price(String goods_reserve_price) {
        this.goods_reserve_price = goods_reserve_price;
    }

    public String getGoods_zk_final_price() {
        return goods_zk_final_price;
    }

    public void setGoods_zk_final_price(String goods_zk_final_price) {
        this.goods_zk_final_price = goods_zk_final_price;
    }

    public String getGoods_item_id() {
        return goods_item_id;
    }

    public void setGoods_item_id(String goods_item_id) {
        this.goods_item_id = goods_item_id;
    }

    public String getGoods_nick() {
        return goods_nick;
    }

    public void setGoods_nick(String goods_nick) {
        this.goods_nick = goods_nick;
    }

    public String getGoods_shop_title() {
        return goods_shop_title;
    }

    public void setGoods_shop_title(String goods_shop_title) {
        this.goods_shop_title = goods_shop_title;
    }

    public String getGoods_coin_price() {
        return goods_coin_price;
    }

    public void setGoods_coin_price(String goods_coin_price) {
        this.goods_coin_price = goods_coin_price;
    }


    @Override
    public String toString() {
        return "OrderEntity{" +
                "order_id='" + order_id + '\'' +
                ", order_state='" + order_state + '\'' +
                ", address_id='" + address_id + '\'' +
                ", name='" + name + '\'' +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                ", custom_id='" + custom_id + '\'' +
                ", goods_title='" + goods_title + '\'' +
                ", goods_pict_url='" + goods_pict_url + '\'' +
                ", goods_reserve_price='" + goods_reserve_price + '\'' +
                ", goods_zk_final_price='" + goods_zk_final_price + '\'' +
                ", goods_item_id='" + goods_item_id + '\'' +
                ", goods_nick='" + goods_nick + '\'' +
                ", goods_shop_title='" + goods_shop_title + '\'' +
                ", goods_coin_price='" + goods_coin_price + '\'' +
                '}';
    }
}
